package com.bms.hystrix.service.kyjlgl;

import com.bms.hystrix.interfaces.kyjlgl.FeiYongGuanLiInterface;

import com.bms.hystrix.pojo.FeiYongGuanLiChanXun;
import com.bms.hystrix.pojo.FeiYongGuanLiZhengJia;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.BeanUtils;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import javax.annotation.Resource;
import javax.validation.Valid;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * 费用管理(FeiYongGuanLi)表服务实现类
 *
 * @author makejava
 * @since 2021-03-16 11:25:10
 * @version 1.0
 */
@Service
public class FeiYongGuanLiServiceImpl {
    @Resource
    private FeiYongGuanLiInterface feiYongGuanLiInterface;

    public Map<String, Object> chaXunFenYe(FeiYongGuanLiChanXun feiYongGuanLiChanXun) {
        return feiYongGuanLiInterface.chaXunFenYe(feiYongGuanLiChanXun);
    }

    public Map<String, Object> xinZengXiangMuJingFei( FeiYongGuanLiZhengJia feiYongGuanLiZhengJia) {
        return this.feiYongGuanLiInterface.xinZengXiangMuJingFei(feiYongGuanLiZhengJia);
    }

    public Map<String, Object> xinZengHeZuoJingFei(FeiYongGuanLiZhengJia feiYongGuanLiZhengJia) {
        return this.feiYongGuanLiInterface.xinZengHeZuoJingFei(feiYongGuanLiZhengJia);

    }

    public Map<String, Object> xinZengChuLaiJingFei(String zhuangTai, FeiYongGuanLiZhengJia feiYongGuanLiZhengJia) {
        return this.feiYongGuanLiInterface.xinZengChuLaiJingFei(zhuangTai,feiYongGuanLiZhengJia);
    }

    public Map<String, Object> gengXinShenHeById( int id,
                                                 String zhuangTai,
                                                String guanLiYuanPiZhu) {
        return this.feiYongGuanLiInterface.gengXinShenHeById(id,zhuangTai,guanLiYuanPiZhu);
    }

    public Map<String, Object> gengXinBoKuanById( int id,
                                                  String boKuanZhuangTai,
                                               String guanLiYuanPiZhu) {
        return this.feiYongGuanLiInterface.gengXinBoKuanById(id,boKuanZhuangTai,guanLiYuanPiZhu);
    }
    public Map<String, Object> shanChuById(int id) {
        return this.feiYongGuanLiInterface.shanChuById(id);
    }
}